package com.xtaller.easy.admin.service;

import java.util.List;
import com.xtaller.common.bean.Where;
import com.xtaller.easy.admin.model.SysButton;

/**
* Created by Taller on 2018/04/16
*/
public interface ISysButtonService {
   /******************* CURD ********************/ 
   // 创建 
   SysButton createSysButton(SysButton model); 
   // 删除 
   Boolean deleteSysButton(Object ids,String reviser);
   // 修改 
   SysButton updateSysButton(SysButton model); 
   // 查询 
   List<SysButton> findByIds(Object ids);
   // 属于 
   Boolean exist(List<Where> w); 
   // 查询一个id是否存在 
   Boolean existId(Object id); 
   /******************* CURD ********************/
   Boolean existName(SysButton model, boolean isCreate);
   Boolean existFun(SysButton model, boolean isCreate);
   List<SysButton> getButton();
}